.class Lcom/estrongs/android/pop/app/messagebox/e$a;
.super Landroid/widget/BaseAdapter;
.source "ImageShareHelper.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/pop/app/messagebox/e;->a(Landroid/content/Intent;Landroid/app/Activity;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Ljava/util/List;

.field final synthetic b:Landroid/app/Activity;

.field final synthetic c:Landroid/content/Intent;

.field final synthetic d:Lcom/estrongs/android/ui/dialog/q;

.field final synthetic e:Lcom/estrongs/android/pop/app/messagebox/e;


# direct methods
.method constructor <init>(Lcom/estrongs/android/pop/app/messagebox/e;Ljava/util/List;Landroid/app/Activity;Landroid/content/Intent;Lcom/estrongs/android/ui/dialog/q;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/app/messagebox/e$a;->e:Lcom/estrongs/android/pop/app/messagebox/e;

    iput-object p2, p0, Lcom/estrongs/android/pop/app/messagebox/e$a;->a:Ljava/util/List;

    iput-object p3, p0, Lcom/estrongs/android/pop/app/messagebox/e$a;->b:Landroid/app/Activity;

    iput-object p4, p0, Lcom/estrongs/android/pop/app/messagebox/e$a;->c:Landroid/content/Intent;

    iput-object p5, p0, Lcom/estrongs/android/pop/app/messagebox/e$a;->d:Lcom/estrongs/android/ui/dialog/q;

    invoke-direct {p0}, Landroid/widget/BaseAdapter;-><init>()V

    return-void
.end method


# virtual methods
.method public getCount()I
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/messagebox/e$a;->a:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    return v0
.end method

.method public getItem(I)Ljava/lang/Object;
    .locals 0

    const/4 p1, 0x0

    return-object p1
.end method

.method public getItemId(I)J
    .locals 2

    const-wide/16 v0, 0x0

    return-wide v0
.end method

.method public getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 5

    const/4 p3, 0x0

    if-nez p2, :cond_0

    .line 1
    iget-object p2, p0, Lcom/estrongs/android/pop/app/messagebox/e$a;->b:Landroid/app/Activity;

    invoke-static {p2}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object p2

    const v0, 0x7f0c026d

    invoke-virtual {p2, v0, p3}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object p2

    .line 2
    new-instance v0, Lcom/estrongs/android/pop/app/messagebox/e$b;

    iget-object v1, p0, Lcom/estrongs/android/pop/app/messagebox/e$a;->e:Lcom/estrongs/android/pop/app/messagebox/e;

    invoke-direct {v0, v1, p3}, Lcom/estrongs/android/pop/app/messagebox/e$b;-><init>(Lcom/estrongs/android/pop/app/messagebox/e;Lcom/estrongs/android/pop/app/messagebox/e$a;)V

    .line 3
    invoke-virtual {p2, v0}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    goto :goto_0

    .line 4
    :cond_0
    invoke-virtual {p2}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/estrongs/android/pop/app/messagebox/e$b;

    :goto_0
    const v1, 0x7f090aea

    .line 5
    invoke-virtual {p2, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, v0, Lcom/estrongs/android/pop/app/messagebox/e$b;->a:Landroid/widget/TextView;

    .line 6
    iget-object v2, p0, Lcom/estrongs/android/pop/app/messagebox/e$a;->e:Lcom/estrongs/android/pop/app/messagebox/e;

    .line 7
    invoke-static {v2}, Lcom/estrongs/android/pop/app/messagebox/e;->a(Lcom/estrongs/android/pop/app/messagebox/e;)Landroid/content/Context;

    move-result-object v2

    invoke-virtual {v2}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    sget-object v3, Lcom/estrongs/android/pop/app/messagebox/e;->b:Ljava/util/Map;

    iget-object v4, p0, Lcom/estrongs/android/pop/app/messagebox/e$a;->a:Ljava/util/List;

    .line 8
    invoke-interface {v4, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v4

    invoke-interface {v3, v4}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/Integer;

    invoke-virtual {v3}, Ljava/lang/Integer;->intValue()I

    move-result v3

    .line 9
    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v2

    .line 10
    invoke-virtual {v1, p3, v2, p3, p3}, Landroid/widget/TextView;->setCompoundDrawablesWithIntrinsicBounds(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    .line 11
    iget-object p3, v0, Lcom/estrongs/android/pop/app/messagebox/e$b;->a:Landroid/widget/TextView;

    sget-object v1, Lcom/estrongs/android/pop/app/messagebox/e;->c:Ljava/util/Map;

    iget-object v2, p0, Lcom/estrongs/android/pop/app/messagebox/e$a;->a:Ljava/util/List;

    invoke-interface {v2, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    invoke-interface {v1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/Integer;

    invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I

    move-result v1

    invoke-virtual {p3, v1}, Landroid/widget/TextView;->setText(I)V

    .line 12
    iget-object p3, v0, Lcom/estrongs/android/pop/app/messagebox/e$b;->a:Landroid/widget/TextView;

    new-instance v0, Lcom/estrongs/android/pop/app/messagebox/e$a$a;

    invoke-direct {v0, p0, p1}, Lcom/estrongs/android/pop/app/messagebox/e$a$a;-><init>(Lcom/estrongs/android/pop/app/messagebox/e$a;I)V

    invoke-virtual {p3, v0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-object p2
.end method
